﻿using System;
using System.Collections.Generic;
using com.gexin.rp.sdk.dto;

namespace com.igetui.api.openservice.igetui.template
{
	// Token: 0x02000049 RID: 73
	public class NotyPopLoadTemplate : AbstractTemplate
	{
		// Token: 0x0600056D RID: 1389 RVA: 0x0000CBA4 File Offset: 0x0000ADA4
		protected override List<ActionChain> getActionChain()
		{
			List<ActionChain> list = new List<ActionChain>();
			ActionChain item = ActionChain.CreateBuilder().SetActionId(1).SetType(ActionChain.Types.Type.Goto).SetNext(10000).Build();
			ActionChain item2 = ActionChain.CreateBuilder().SetActionId(10000).SetType(ActionChain.Types.Type.notification).SetTitle(this.notyTitle).SetText(this.notyContent).SetLogo(this.notyIcon).SetLogoURL(this.logoURL).SetRing(this.isBelled).SetClearable(this.isCleared).SetBuzz(this.isVibrationed).SetNext(10010).Build();
			ActionChain item3 = ActionChain.CreateBuilder().SetActionId(10010).SetType(ActionChain.Types.Type.Goto).SetNext(10020).Build();
			Button value = Button.CreateBuilder().SetText(this.popButton1).SetNext(10040).Build();
			Button value2 = Button.CreateBuilder().SetText(this.popButton2).SetNext(100).Build();
			ActionChain item4 = ActionChain.CreateBuilder().SetActionId(10020).SetType(ActionChain.Types.Type.popup).SetTitle(this.popTitle).SetText(this.popContent).SetImg(this.popImage).AddButtons(value).AddButtons(value2).SetNext(6).Build();
			AppStartUp appstartupid = AppStartUp.CreateBuilder().SetAndroid(this.androidMark).SetSymbia(this.symbianMark).SetIos(this.iphoneMark).Build();
			ActionChain item5 = ActionChain.CreateBuilder().SetActionId(10040).SetType(ActionChain.Types.Type.appdownload).SetName(this.loadTitle).SetUrl(this.loadUrl).SetLogo(this.loadIcon).SetLogoURL(this.logoURL).SetAutoInstall(this.isAutoInstall).SetAutostart(this.isActived).SetAppstartupid(appstartupid).SetNext(6).Build();
			ActionChain item6 = ActionChain.CreateBuilder().SetActionId(100).SetType(ActionChain.Types.Type.eoa).Build();
			list.Add(item);
			list.Add(item2);
			list.Add(item3);
			list.Add(item4);
			list.Add(item5);
			list.Add(item6);
			return list;
		}

		// Token: 0x0600056E RID: 1390 RVA: 0x0000CDDA File Offset: 0x0000AFDA
		public override string getPushType()
		{
			return "NotyPopLoadTemplate";
		}

		// Token: 0x1700024F RID: 591
		// (get) Token: 0x0600056F RID: 1391 RVA: 0x0000CDE1 File Offset: 0x0000AFE1
		// (set) Token: 0x06000570 RID: 1392 RVA: 0x0000CDE9 File Offset: 0x0000AFE9
		public string NotyIcon
		{
			get
			{
				return this.notyIcon;
			}
			set
			{
				this.notyIcon = value;
			}
		}

		// Token: 0x17000250 RID: 592
		// (get) Token: 0x06000571 RID: 1393 RVA: 0x0000CDF2 File Offset: 0x0000AFF2
		// (set) Token: 0x06000572 RID: 1394 RVA: 0x0000CDFA File Offset: 0x0000AFFA
		public string LogoURL
		{
			get
			{
				return this.logoURL;
			}
			set
			{
				this.logoURL = value;
			}
		}

		// Token: 0x17000251 RID: 593
		// (get) Token: 0x06000573 RID: 1395 RVA: 0x0000CE03 File Offset: 0x0000B003
		// (set) Token: 0x06000574 RID: 1396 RVA: 0x0000CE0B File Offset: 0x0000B00B
		public string NotyTitle
		{
			get
			{
				return this.notyTitle;
			}
			set
			{
				this.notyTitle = value;
			}
		}

		// Token: 0x17000252 RID: 594
		// (get) Token: 0x06000575 RID: 1397 RVA: 0x0000CE14 File Offset: 0x0000B014
		// (set) Token: 0x06000576 RID: 1398 RVA: 0x0000CE1C File Offset: 0x0000B01C
		public string NotyContent
		{
			get
			{
				return this.notyContent;
			}
			set
			{
				this.notyContent = value;
			}
		}

		// Token: 0x17000253 RID: 595
		// (get) Token: 0x06000577 RID: 1399 RVA: 0x0000CE25 File Offset: 0x0000B025
		// (set) Token: 0x06000578 RID: 1400 RVA: 0x0000CE2D File Offset: 0x0000B02D
		public bool IsCleared
		{
			get
			{
				return this.isCleared;
			}
			set
			{
				this.isCleared = value;
			}
		}

		// Token: 0x17000254 RID: 596
		// (get) Token: 0x06000579 RID: 1401 RVA: 0x0000CE36 File Offset: 0x0000B036
		// (set) Token: 0x0600057A RID: 1402 RVA: 0x0000CE3E File Offset: 0x0000B03E
		public bool IsBelled
		{
			get
			{
				return this.isBelled;
			}
			set
			{
				this.isBelled = value;
			}
		}

		// Token: 0x17000255 RID: 597
		// (get) Token: 0x0600057B RID: 1403 RVA: 0x0000CE47 File Offset: 0x0000B047
		// (set) Token: 0x0600057C RID: 1404 RVA: 0x0000CE4F File Offset: 0x0000B04F
		public bool IsVibrationed
		{
			get
			{
				return this.isVibrationed;
			}
			set
			{
				this.isVibrationed = value;
			}
		}

		// Token: 0x17000256 RID: 598
		// (get) Token: 0x0600057D RID: 1405 RVA: 0x0000CE58 File Offset: 0x0000B058
		// (set) Token: 0x0600057E RID: 1406 RVA: 0x0000CE60 File Offset: 0x0000B060
		public string PopTitle
		{
			get
			{
				return this.popTitle;
			}
			set
			{
				this.popTitle = value;
			}
		}

		// Token: 0x17000257 RID: 599
		// (get) Token: 0x0600057F RID: 1407 RVA: 0x0000CE69 File Offset: 0x0000B069
		// (set) Token: 0x06000580 RID: 1408 RVA: 0x0000CE71 File Offset: 0x0000B071
		public string PopContent
		{
			get
			{
				return this.popContent;
			}
			set
			{
				this.popContent = value;
			}
		}

		// Token: 0x17000258 RID: 600
		// (get) Token: 0x06000581 RID: 1409 RVA: 0x0000CE7A File Offset: 0x0000B07A
		// (set) Token: 0x06000582 RID: 1410 RVA: 0x0000CE82 File Offset: 0x0000B082
		public string PopImage
		{
			get
			{
				return this.popImage;
			}
			set
			{
				this.popImage = value;
			}
		}

		// Token: 0x17000259 RID: 601
		// (get) Token: 0x06000583 RID: 1411 RVA: 0x0000CE8B File Offset: 0x0000B08B
		// (set) Token: 0x06000584 RID: 1412 RVA: 0x0000CE93 File Offset: 0x0000B093
		public string PopButton1
		{
			get
			{
				return this.popButton1;
			}
			set
			{
				this.popButton1 = value;
			}
		}

		// Token: 0x1700025A RID: 602
		// (get) Token: 0x06000585 RID: 1413 RVA: 0x0000CE9C File Offset: 0x0000B09C
		// (set) Token: 0x06000586 RID: 1414 RVA: 0x0000CEA4 File Offset: 0x0000B0A4
		public string PopButton2
		{
			get
			{
				return this.popButton2;
			}
			set
			{
				this.popButton2 = value;
			}
		}

		// Token: 0x1700025B RID: 603
		// (get) Token: 0x06000587 RID: 1415 RVA: 0x0000CEAD File Offset: 0x0000B0AD
		// (set) Token: 0x06000588 RID: 1416 RVA: 0x0000CEB5 File Offset: 0x0000B0B5
		public string LoadIcon
		{
			get
			{
				return this.loadIcon;
			}
			set
			{
				this.loadIcon = value;
			}
		}

		// Token: 0x1700025C RID: 604
		// (get) Token: 0x06000589 RID: 1417 RVA: 0x0000CEBE File Offset: 0x0000B0BE
		// (set) Token: 0x0600058A RID: 1418 RVA: 0x0000CEC6 File Offset: 0x0000B0C6
		public string LoadTitle
		{
			get
			{
				return this.loadTitle;
			}
			set
			{
				this.loadTitle = value;
			}
		}

		// Token: 0x1700025D RID: 605
		// (get) Token: 0x0600058B RID: 1419 RVA: 0x0000CECF File Offset: 0x0000B0CF
		// (set) Token: 0x0600058C RID: 1420 RVA: 0x0000CED7 File Offset: 0x0000B0D7
		public string LoadUrl
		{
			get
			{
				return this.loadUrl;
			}
			set
			{
				this.loadUrl = value;
			}
		}

		// Token: 0x1700025E RID: 606
		// (get) Token: 0x0600058D RID: 1421 RVA: 0x0000CEE0 File Offset: 0x0000B0E0
		// (set) Token: 0x0600058E RID: 1422 RVA: 0x0000CEE8 File Offset: 0x0000B0E8
		public bool IsAutoInstall
		{
			get
			{
				return this.isAutoInstall;
			}
			set
			{
				this.isAutoInstall = value;
			}
		}

		// Token: 0x1700025F RID: 607
		// (get) Token: 0x0600058F RID: 1423 RVA: 0x0000CEF1 File Offset: 0x0000B0F1
		// (set) Token: 0x06000590 RID: 1424 RVA: 0x0000CEF9 File Offset: 0x0000B0F9
		public bool IsActived
		{
			get
			{
				return this.isActived;
			}
			set
			{
				this.isActived = value;
			}
		}

		// Token: 0x17000260 RID: 608
		// (get) Token: 0x06000591 RID: 1425 RVA: 0x0000CF02 File Offset: 0x0000B102
		// (set) Token: 0x06000592 RID: 1426 RVA: 0x0000CF0A File Offset: 0x0000B10A
		public string AndroidMark
		{
			get
			{
				return this.androidMark;
			}
			set
			{
				this.androidMark = value;
			}
		}

		// Token: 0x17000261 RID: 609
		// (get) Token: 0x06000593 RID: 1427 RVA: 0x0000CF13 File Offset: 0x0000B113
		// (set) Token: 0x06000594 RID: 1428 RVA: 0x0000CF1B File Offset: 0x0000B11B
		public string SymbianMark
		{
			get
			{
				return this.symbianMark;
			}
			set
			{
				this.symbianMark = value;
			}
		}

		// Token: 0x17000262 RID: 610
		// (get) Token: 0x06000595 RID: 1429 RVA: 0x0000CF24 File Offset: 0x0000B124
		// (set) Token: 0x06000596 RID: 1430 RVA: 0x0000CF2C File Offset: 0x0000B12C
		public string IphoneMark
		{
			get
			{
				return this.iphoneMark;
			}
			set
			{
				this.iphoneMark = value;
			}
		}

		// Token: 0x06000597 RID: 1431 RVA: 0x0000CF35 File Offset: 0x0000B135
		protected override int getTemplateId()
		{
			return 2;
		}

		// Token: 0x04000306 RID: 774
		private string notyIcon;

		// Token: 0x04000307 RID: 775
		private string logoURL = "";

		// Token: 0x04000308 RID: 776
		private string notyTitle;

		// Token: 0x04000309 RID: 777
		private string notyContent;

		// Token: 0x0400030A RID: 778
		private bool isCleared = true;

		// Token: 0x0400030B RID: 779
		private bool isBelled = true;

		// Token: 0x0400030C RID: 780
		private bool isVibrationed = true;

		// Token: 0x0400030D RID: 781
		private string popTitle;

		// Token: 0x0400030E RID: 782
		private string popContent;

		// Token: 0x0400030F RID: 783
		private string popImage;

		// Token: 0x04000310 RID: 784
		private string popButton1;

		// Token: 0x04000311 RID: 785
		private string popButton2;

		// Token: 0x04000312 RID: 786
		private string loadIcon;

		// Token: 0x04000313 RID: 787
		private string loadTitle;

		// Token: 0x04000314 RID: 788
		private string loadUrl;

		// Token: 0x04000315 RID: 789
		private bool isAutoInstall;

		// Token: 0x04000316 RID: 790
		private bool isActived;

		// Token: 0x04000317 RID: 791
		private string androidMark = "";

		// Token: 0x04000318 RID: 792
		private string symbianMark = "";

		// Token: 0x04000319 RID: 793
		private string iphoneMark = "";
	}
}
